package com.itheima.dao;

import com.itheima.pojo.ReportPackage;
import org.apache.ibatis.annotations.Param;

import java.util.Date;
import java.util.List;
import java.util.Map;

public interface ReportDao {
    List<ReportPackage> findSetmealIncomeByDate(@Param("startDate") String startDate, @Param("endDate") String endDate);

    List<String> findDateByDate(@Param("start") String startDate, @Param("end") String endDate);

    List<Integer> findCountOrderByDate(@Param("start") String startDate, @Param("end") String endDate);

    List<Map<String, Object>> findHaveDatedCountByDate(@Param("start") String startDate, @Param("end") String endDate);

    List<Date> findBirthday();
}
